package com.itxiuyixiu.entity.mapper;

import com.itxiuyixiu.entity.model.Teacher;

import java.util.Optional;

/**
 * @author 黄磊
 * @date 2020/5/2
 */
public interface TeacherReaderMapper {
    Optional<Teacher> findTeacherByTeacherId(Integer teacherId);

    Optional<Teacher> findTeacherByAdminId(Integer adminId);

    Optional<Teacher> findTeacherByAdminUsername(String username);
}
